package com.dr.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dr.mapper.LoginMapper;
import com.dr.pojo.User;
import com.dr.service.LoginService;
@Service
public class LoginServiceImpl implements LoginService {
	@Autowired
	LoginMapper loginMapper;

	public User findUser(User user) throws Exception {
		// TODO 自动生成的方法存根
		return loginMapper.selectUser(user);

	}

}
